package work2;

public class Demo {
   public static void main(String[] args) throws InterruptedException {
       Code code = new Code();
       SonThread sonThread = new SonThread(code);
       sonThread.start();
       for (int i = 0; i < 3; i++) {
           code.mainRun();
       }
   }

}
